package com.ynkbny.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ynkbny.domain.ArgumentDevice;
import com.ynkbny.domain.dto.ArgumentDeviceAddDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author YY
* @description 针对表【argument_device(参数设备)】的数据库操作Mapper
* @createDate 2023-09-04 20:30:04
* @Entity com.ynkbny.domain.ArgumentDevice
*/
public interface ArgumentDeviceMapper extends BaseMapper<ArgumentDevice> {

    /**
     * 批量保存参数设备信息
     * @author YY
     * @param argumentDevices List<ArgumentDevice>
     * @return boolean
     */
    boolean insertBatch(List<ArgumentDevice> argumentDevices);

    /**
     * 通过采集配置项id查询设备信息
     * @author YY
     * @param dataCollectConfigureId 采集配置项id
     * @return List<ArgumentDeviceAddDTO>
     */
    List<ArgumentDeviceAddDTO> getList(@Param("dataCollectConfigureId") String dataCollectConfigureId);
}




